home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / warp / common / api.h next >
C/C++ Source or Header  |  1993-01-15  |  2KB  |  113 lines

  1. #ifndef API_h
  2. #define API_H
  3.  
  4. /* Things implemented in common code to be called by machine-specific
  5.  * code */
  6. void apiInit();
  7.  
  8. int apiCheckPipes();
  9. void apiDoPipes();
  10.  
  11. int apiVerifyUI();
  12.  
  13. void apiFreeze();
  14. void apiThaw();
  15.  
  16. void apiTargetChanged();
  17.  
  18. void apiPreview();
  19. void apiWarp();
  20.  
  21. void apiEdit();
  22. void apiEditSet();
  23. void apiEditSetAll();
  24. void apiEditLocation();
  25.  
  26. void apiDelete();
  27. void apiDeleteAll();
  28. void apiPosition();
  29.  
  30. void apiUpdateGeom();
  31. void apiUpdateScale();
  32.  
  33. void apiExit();
  34.  
  35. /* Things implemented in machine-specific code to be called by common
  36.  * code */
  37.  
  38. void uiFreeze();
  39. void uiThaw();
  40.  
  41. /* These two run panels as modal */
  42. void uiError(const char *str1, const char *str2, const char *str3);
  43. void uiEdit(const char *name);
  44.  
  45. void uiSetTarget(const char *target);
  46. const char *uiGetTarget();
  47.  
  48. void uiSetCreateOnPick(int val);
  49. int uiGetCreateOnPick();
  50.  
  51. void uiAddWidget(const char *name, int index);
  52. void uiSetSelectedWidget(int index);
  53. int uiGetSelectedWidget();
  54. void uiSetWidgetName(const char *name, int index);
  55. const char *uiGetWidgetName(int index);
  56. int uiWidgetIndex(const char *name);
  57. void uiDeleteWidget(int index);
  58.  
  59. void uiSetStrengthBounds(float min, float max);
  60. void uiSetStrength(float strength);
  61. float uiGetStrength();
  62. void uiSetSmoothnessBounds(float min, float max);
  63. void uiSetSmoothness(float smoothness);
  64. float uiGetSmoothness();
  65.  
  66. void uiSetPoint(Point3 *pt);
  67. void uiGetPoint(Point3 *pt);
  68.  
  69. void uiSetSteps(int steps);
  70. int uiGetSteps();
  71. void uiSetStart(int start);
  72. int uiGetStart();
  73. void uiSetEnd(int end);
  74. int uiGetEnd();
  75.  
  76. void uiSetIntToGV(int val);
  77. int uiGetIntToGV();
  78. void uiSetIntToFiles(int val);
  79. int uiGetIntToFiles();
  80.  
  81. void uiSetAutoUpdate(int val);
  82. int uiGetAutoUpdate();
  83.  
  84. void uiSetRetain(int val);
  85. int uiGetRetain();
  86.  
  87. void uiSetPrefix(const char *prefix);
  88. const char *uiGetPrefix();
  89.  
  90. void uiSetPath(const char *path);
  91. const char *uiGetPath();
  92.  
  93. void uiSetWidgetGeom(const char *geom);
  94. const char *uiGetWidgetGeom();
  95.  
  96. void uiSetWidgetSize(float size);
  97. float uiGetWidgetSize();
  98.  
  99. void uiSetRelativeSize(int val);
  100. int uiGetRelativeSize();
  101.  
  102. void uiSetGridX(int x);
  103. int uiGetGridX();
  104. void uiSetGridY(int y);
  105. int uiGetGridY();
  106. void uiSetGridZ(int z);
  107. int uiGetGridZ();
  108.  
  109.  
  110. #endif
  111.  
  112.  
  113.